-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update deployer to newer version #72
Conversation
LGTM, happy to merge this in. What do you think @sprankhub? It excludes PHP 8+, but compatibility could be added in another PR (even if it's just adding it to the list of supported PHP versions) Fixes #75 |
- composer self-update | ||
- php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | ||
- php -r "if (hash_file('sha384', 'composer-setup.php') === '756890a4488ce9024fc62c56153228907f1545c228516cbf63f885e036d37e9a59d27d63f46af1d4d07ee0f76181c7d3') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;" | ||
- php composer-setup.php --version=1.10.19 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- php composer-setup.php --version=1.10.19 | |
- php composer-setup.php --1 |
Why do we fix this to a specific version? I suggest using at least the latest v1 version. Or can we even switch to v2?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been using this with Composer 2 just fine, so it probably could do without a version
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, composer 2 is now supported on both 2.3 and 2.4, so I agree that there's no need to hardcore composer version to v1
Closing this one as I've created a newer PR which includes this one (#80) |
The old version of deployer throws the following error in the Docker container.